<template>
  <div class="container">
    <div class="flex-start user">
      <van-image round fit="cover" :src="require('@/assets/images/avatar.jpg')" />
      <div>
        <div class="user-name">一只前端汪</div>
        <div class="e-mail">985313519@qq.com</div>
      </div>
    </div>
    <div class="cell-list">
      <van-cell title="点击跳转测试页面1" is-link to="/test1" />
      <van-cell title="点击跳转测试页面2" is-link to="/test2" />
      <van-cell title="点击跳转测试页面3" is-link to="/test3" />
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.container {
  .user {
    height: 240px;
    padding: 0 60px;
    background-color: #fff;
    .van-image {
      width: 130px;
      height: 130px;
      margin-right: 30px;
      border: 1px solid #dfdfdf;
    }
    .user-name {
      font-size: 40px;
      font-weight: bold;
    }
    .e-mail {
      font-size: 28px;
      color: #999;
      margin-top: 16px;
    }
  }
  .cell-list {
    margin-top: 20px;
  }
}
</style>
